package com.hisan.freeride.home.model;


import com.hisan.freeride.common.model.BaseModel;

import java.util.List;

/**
 * 创建时间 : 2017/6/26
 * 创建人：yangyingqi
 * 公司：嘉善和盛网络有限公司
 * 备注：最新行程列表模板
 */
public class TripBean extends BaseModel {


    /**
     * sum : 8
     * updatetime : 2017-11-11 14:22:38
     * list : [{"id":479,"driver_id":31,"tag_id":[{"name":"晕车不带"}],"initially":"永宁县城","destination":"宁夏医科大","way":"","surplus":2,"departure_time":"11-10 18:30","create_time":"11-10 16:57","people":2,"nickname":"曹龙","avatar":"http://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIIDUnsfAibxPbIfIs6GOupm2PuGkibwt1Zxv2yRKPMRLBLWDk8Kk88ibqY0YZiaqt9m3sw8hHecOysrQ/0","score":0,"service_count":17},{"id":478,"driver_id":31,"tag_id":[{"name":"晕车不带"}],"initially":"小坝","destination":"永宁县城","way":"","surplus":3,"departure_time":"11-10 17:45","create_time":"11-10 16:57","people":3,"nickname":"曹龙","avatar":"http://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIIDUnsfAibxPbIfIs6GOupm2PuGkibwt1Zxv2yRKPMRLBLWDk8Kk88ibqY0YZiaqt9m3sw8hHecOysrQ/0","score":0,"service_count":17},{"id":473,"driver_id":9,"tag_id":[{"name":"不接送"}],"initially":"北京路","destination":"大武口","way":"","surplus":2,"departure_time":"11-10 17:30","create_time":"11-10 14:12","people":2,"nickname":"官网代发","avatar":"http://wx.qlogo.cn/mmopen/vi_32/9MNJufWPCib07KQbnzOcbWB0A6jmaEgqHqnU7bwAryMeqGGR6F4pLfIqtYicm0ERZXgWvriaYdSbH54z2TnlibeaFQ/0","score":0,"service_count":449},{"id":476,"driver_id":31,"tag_id":[{"name":"晕车不带"}],"initially":"银川","destination":"吴忠","way":"","surplus":3,"departure_time":"11-10 15:40","create_time":"11-10 14:35","people":3,"nickname":"曹龙","avatar":"http://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIIDUnsfAibxPbIfIs6GOupm2PuGkibwt1Zxv2yRKPMRLBLWDk8Kk88ibqY0YZiaqt9m3sw8hHecOysrQ/0","score":0,"service_count":17},{"id":446,"driver_id":9,"tag_id":[{"name":"不接送"}],"initially":"中宁","destination":"银川","way":"","surplus":3,"departure_time":"11-09 15:40","create_time":"11-09 15:34","people":3,"nickname":"官网代发","avatar":"http://wx.qlogo.cn/mmopen/vi_32/9MNJufWPCib07KQbnzOcbWB0A6jmaEgqHqnU7bwAryMeqGGR6F4pLfIqtYicm0ERZXgWvriaYdSbH54z2TnlibeaFQ/0","score":0,"service_count":449},{"id":416,"driver_id":31,"tag_id":[{"name":"老年人"},{"name":"晕车不带"}],"initially":"银川","destination":"吴忠","way":"","surplus":4,"departure_time":"11-09 15:00","create_time":"11-09 08:41","people":4,"nickname":"曹龙","avatar":"http://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIIDUnsfAibxPbIfIs6GOupm2PuGkibwt1Zxv2yRKPMRLBLWDk8Kk88ibqY0YZiaqt9m3sw8hHecOysrQ/0","score":0,"service_count":17},{"id":428,"driver_id":31,"tag_id":[{"name":"晕车不带"}],"initially":"中卫","destination":"红寺堡","way":"中宁","surplus":3,"departure_time":"11-09 14:30","create_time":"11-09 10:51","people":3,"nickname":"曹龙","avatar":"http://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIIDUnsfAibxPbIfIs6GOupm2PuGkibwt1Zxv2yRKPMRLBLWDk8Kk88ibqY0YZiaqt9m3sw8hHecOysrQ/0","score":0,"service_count":17},{"id":414,"driver_id":31,"tag_id":[{"name":"晕车不带"}],"initially":"银川","destination":"乌海","way":"平罗～惠农～海南","surplus":4,"departure_time":"11-09 12:00","create_time":"前天11-08 20:34","people":4,"nickname":"曹龙","avatar":"http://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIIDUnsfAibxPbIfIs6GOupm2PuGkibwt1Zxv2yRKPMRLBLWDk8Kk88ibqY0YZiaqt9m3sw8hHecOysrQ/0","score":0,"service_count":17},{"id":431,"driver_id":9,"tag_id":[{"name":"不接送"}],"initially":"永宁万商","destination":"银川北门","way":"","surplus":3,"departure_time":"11-09 11:40","create_time":"11-09 11:22","people":3,"nickname":"官网代发","avatar":"http://wx.qlogo.cn/mmopen/vi_32/9MNJufWPCib07KQbnzOcbWB0A6jmaEgqHqnU7bwAryMeqGGR6F4pLfIqtYicm0ERZXgWvriaYdSbH54z2TnlibeaFQ/0","score":0,"service_count":449},{"id":427,"driver_id":9,"tag_id":[{"name":"老年人"},{"name":"晕车不带"}],"initially":"望远","destination":"中宁","way":"","surplus":3,"departure_time":"11-09 10:30","create_time":"11-09 10:21","people":3,"nickname":"官网代发","avatar":"http://wx.qlogo.cn/mmopen/vi_32/9MNJufWPCib07KQbnzOcbWB0A6jmaEgqHqnU7bwAryMeqGGR6F4pLfIqtYicm0ERZXgWvriaYdSbH54z2TnlibeaFQ/0","score":0,"service_count":449}]
     */

    private int sum;
    private String updatetime;
    private List<ListBean> list;

    public int getSum() {
        return sum;
    }

    public void setSum(int sum) {
        this.sum = sum;
    }

    public String getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(String updatetime) {
        this.updatetime = updatetime;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * id : 479
         * driver_id : 31
         * tag_id : [{"name":"晕车不带"}]
         * initially : 永宁县城
         * destination : 宁夏医科大
         * way :
         * surplus : 2
         * departure_time : 11-10 18:30
         * create_time : 11-10 16:57
         * people : 2
         * nickname : 曹龙
         * avatar : http://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIIDUnsfAibxPbIfIs6GOupm2PuGkibwt1Zxv2yRKPMRLBLWDk8Kk88ibqY0YZiaqt9m3sw8hHecOysrQ/0
         * score : 0
         * service_count : 17
         */

        private int id;
        private int driver_id;
        private String initially;
        private String destination;
        private String way;
        private int surplus;
        private String departure_time;
        private String create_time;
        private int people;
        private String nickname;
        private String avatar;
        private int score;
        private int service_count;
        private List<TagIdBean> tag_id;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getDriver_id() {
            return driver_id;
        }

        public void setDriver_id(int driver_id) {
            this.driver_id = driver_id;
        }

        public String getInitially() {
            return initially;
        }

        public void setInitially(String initially) {
            this.initially = initially;
        }

        public String getDestination() {
            return destination;
        }

        public void setDestination(String destination) {
            this.destination = destination;
        }

        public String getWay() {
            return way;
        }

        public void setWay(String way) {
            this.way = way;
        }

        public int getSurplus() {
            return surplus;
        }

        public void setSurplus(int surplus) {
            this.surplus = surplus;
        }

        public String getDeparture_time() {
            return departure_time;
        }

        public void setDeparture_time(String departure_time) {
            this.departure_time = departure_time;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public int getPeople() {
            return people;
        }

        public void setPeople(int people) {
            this.people = people;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public int getScore() {
            return score;
        }

        public void setScore(int score) {
            this.score = score;
        }

        public int getService_count() {
            return service_count;
        }

        public void setService_count(int service_count) {
            this.service_count = service_count;
        }

        public List<TagIdBean> getTag_id() {
            return tag_id;
        }

        public void setTag_id(List<TagIdBean> tag_id) {
            this.tag_id = tag_id;
        }

        public static class TagIdBean {
            /**
             * name : 晕车不带
             */

            private String name;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
